<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/templates/template_admin.xhtml">
        <ui:define name="content">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h1><h:outputLabel value="More Applicant"/></h1>
                <h:panelGrid columns="2">
                    <h:outputLabel value="ApplicantID" for="applicantID" />
                    <h:outputLabel id="applicantID" value="#{amb.a.applicantID}" />                               
                    <h:outputLabel value="FirstName" for="firstName" />
                    <h:outputLabel id="firstName" value="#{amb.a.firstName}" />

                    <h:outputLabel value="LastName" for="lastName" />
                    <h:outputLabel id="lastName" value="#{amb.a.lastName}"  />

                    <h:outputLabel value="Gender" for="gender" />   
                    <h:selectOneMenu id="gender"
                                     value="#{amb.a.gender}" disabled="true">
                        <f:selectItem itemLabel="Male" itemValue="#{true}"/>
                        <f:selectItem itemLabel="Female" itemValue="#{false}" />
                    </h:selectOneMenu>

                    <h:outputLabel value="dob" for="dob" />
                    <h:outputLabel id="dob" value="#{amb.a.dob}" >
                        <f:convertDateTime pattern="yyyy-MM-dd"/>
                    </h:outputLabel>

                    <h:outputLabel value="PhoneNumber" for="phoneNumber" />
                    <h:outputLabel id="phoneNumber" value="#{amb.a.phoneNumber}"/>
                    <h:outputLabel value="Email" for="email" />
                    <h:outputLabel value="#{amb.a.email}" >

                    </h:outputLabel>

                    <h:outputLabel value="Address" for="address" />
                    <h:inputTextarea id="address" value="#{amb.a.address}" style="width: 300px" disabled="true" />

                    <h:outputLabel value="SalaryRequirement" for="salaryRequirement" />
                    <h:outputLabel value="#{amb.a.salaryRequirement}"    />     
                    <h:outputLabel value="Language" for="language" />
                    <h:inputTextarea id="language" value="#{amb.a.language}" style="width: 300px" disabled="true" />

                    <h:outputLabel value="YearOfExperience" for="yearOfExperience" />
                    <h:outputLabel value="#{amb.a.yearOfExperience}"         />     
                    <h:outputLabel value="Degree" for="degree" />
                    <h:inputTextarea id="degree" value="#{amb.a.degree}" style="width: 300px" disabled="true">

                    </h:inputTextarea>

                    <h:outputLabel value="Skill" for="skill" />
                    <h:inputTextarea id="skill" value="#{amb.a.skill}" style="width: 300px" disabled="true"/>

                    <h:outputLabel value="Award" for="award" />
                    <h:inputTextarea id="award" value="#{amb.a.award}" style="width: 300px" disabled="true"/>

                </h:panelGrid>
                <br />               
                <h:commandButton action="List" value="Back"/>
                <br />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
